import request from "@/api/index";

export interface getNewsAns {
    code: number;
    msg: string;
    data: Array<any>
}
export const getNews = () => {
    return request({
        url: '/news/get',
        method: 'get'
    })
}